Lung impedence-guided treatment